package com.i2works.smartluolong.manage.entity.admin;

import com.i2works.smartluolong.utils.entity.BaseCommQuery;

/**
 * 权限资源实体类
 *
 * @author koal <koal@vip.qq.com>
 * @ClassName: AdminResQuery

 * @date 2015年11月3日 下午11:14:52
 */
public class AdminResQuery extends BaseCommQuery {

    private Integer id;

    private Integer pid;// 父ID

    private String resName;// 资源名称

    private String resCode;// 资源代码

    private String resKey;// 资源键值

    private Integer resType;// 资源类型（0根目录，1无连接菜单，2带连接菜单，3按钮）

    private Integer status;// 状态

    //新加
    private Integer userId; //用户ID
    private Integer roleId; //角色ID
    private Integer isSystem = 1;//是否root最高权限，1是，2不是
    private Integer showStatus; //tree展示类型：0显示所有的目录（不含按钮），1显示全部分类, 2显示所有正常父类

    public Integer getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getResName() {
        return resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getResKey() {
        return resKey;
    }

    public void setResKey(String resKey) {
        this.resKey = resKey;
    }


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getResType() {
        return resType;
    }

    public void setResType(Integer resType) {
        this.resType = resType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }
}